
label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    margin-right: 15px;
    font-size: 13px;
}
.wrapper {
    width: 800px;
    margin: 450px auto;
}
input[type=radio],input[type=checkbox] {
    display: none;
}
label:before {
    content: "";
    display: inline-block;
    
    width: 17px;
    height: 16px;
    
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #999;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}

.radio label:before {
    border-radius: 8px;
}
.checkbox label {
    margin-bottom: 10px;
}
.checkbox label:before {
    border-radius: 3px;
}

input[type=radio]:checked + label:before {
    content: "\2022";
    color: #f3f3f3;
    font-size: 31px;
    text-align: center;
    line-height: 18px;
}

input[type=checkbox]:checked + label:before {
    content: "\2713";
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    font-size: 15px;
    color: #f3f3f3;
    text-align: center;
    line-height: 15px;
}